package com.ruoyi.training.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 缴费记录对象 payment_record
 *
 * @author hcc
 * @date 2025-09-28
 */
public class PaymentRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 缴费记录ID */
    private String paymentRecordId;

    /** 报名id */
    private String registrationId;

    /** 缴费状态 */
    @Excel(name = "缴费状态")
    private String paymentState;

    /** 缴费方式 */
    @Excel(name = "缴费方式")
    private String paymentMethod;

    /** 费用 */
    @Excel(name = "费用")
    private String paymentAmount;

    /** 诺诺单号 */
    @Excel(name = "诺诺单号")
    private String nuonuoNumber;

    /** 缴费凭证 */
    @Excel(name = "缴费凭证")
    private String paymentVoucher;

    /** 退费金额 */
    @Excel(name = "退费金额")
    private String refundAmount;

    /** 退费原因 */
    @Excel(name = "退费原因")
    private String refundReason;

    /** 申请时间 */
    @Excel(name = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;

    /** 申请人 */
    @Excel(name = "申请人")
    private String refundPerson;

    /** 是否办结 */
    @Excel(name = "是否办结")
    private String isSettled;

    /** 上传缴费凭证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传缴费凭证时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date voucherUploadTime;

    /** 缴费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "缴费时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date paymentTime;

    public String getRefundReasonRemark() {
        return refundReasonRemark;
    }

    public void setRefundReasonRemark(String refundReasonRemark) {
        this.refundReasonRemark = refundReasonRemark;
    }

    /** 退费原因备注*/
    private String refundReasonRemark;

    /** $column.columnComment */
    private String exampleOne;  // 缴费备注内容

    /** $column.columnComment */
    private String exampleTwo;   // 备注类型2,缴费备注

    /** $column.columnComment */
    private String exampleThree;

    /** 缴费用户信息 */
    private String studentId;

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }
    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public void setRefundPerson(String refundPerson) {
        this.refundPerson = refundPerson;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public String getRefundPerson() {
        return refundPerson;
    }

    public void setPaymentRecordId(String paymentRecordId)
    {
        this.paymentRecordId = paymentRecordId;
    }

    public String getPaymentRecordId()
    {
        return paymentRecordId;
    }

    public void setPaymentState(String paymentState)
    {
        this.paymentState = paymentState;
    }

    public String getPaymentState()
    {
        return paymentState;
    }

    public void setPaymentMethod(String paymentMethod)
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod()
    {
        return paymentMethod;
    }

    public void setPaymentAmount(String paymentAmount)
    {
        this.paymentAmount = paymentAmount;
    }

    public String getPaymentAmount()
    {
        return paymentAmount;
    }

    public void setNuonuoNumber(String nuonuoNumber)
    {
        this.nuonuoNumber = nuonuoNumber;
    }

    public String getNuonuoNumber()
    {
        return nuonuoNumber;
    }

    public void setPaymentVoucher(String paymentVoucher)
    {
        this.paymentVoucher = paymentVoucher;
    }

    public String getPaymentVoucher()
    {
        return paymentVoucher;
    }

    public void setRefundAmount(String refundAmount)
    {
        this.refundAmount = refundAmount;
    }

    public String getRefundAmount()
    {
        return refundAmount;
    }

    public void setRefundReason(String refundReason)
    {
        this.refundReason = refundReason;
    }

    public String getRefundReason()
    {
        return refundReason;
    }

    public void setIsSettled(String isSettled)
    {
        this.isSettled = isSettled;
    }

    public String getIsSettled()
    {
        return isSettled;
    }

    public void setVoucherUploadTime(Date voucherUploadTime)
    {
        this.voucherUploadTime = voucherUploadTime;
    }

    public Date getVoucherUploadTime()
    {
        return voucherUploadTime;
    }

    public void setPaymentTime(Date paymentTime)
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime()
    {
        return paymentTime;
    }

    public void setExampleOne(String exampleOne)
    {
        this.exampleOne = exampleOne;
    }

    public String getExampleOne()
    {
        return exampleOne;
    }

    public void setExampleTwo(String exampleTwo)
    {
        this.exampleTwo = exampleTwo;
    }

    public String getExampleTwo()
    {
        return exampleTwo;
    }

    public void setExampleThree(String exampleThree)
    {
        this.exampleThree = exampleThree;
    }

    public String getExampleThree()
    {
        return exampleThree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("paymentRecordId", getPaymentRecordId())
                .append("registrationId", getRegistrationId())
                .append("paymentState", getPaymentState())
                .append("paymentMethod", getPaymentMethod())
                .append("paymentAmount", getPaymentAmount())
                .append("nuonuoNumber", getNuonuoNumber())
                .append("paymentVoucher", getPaymentVoucher())
                .append("refundAmount", getRefundAmount())
                .append("refundReason", getRefundReason())
                .append("refundReasonRemark", getRefundReasonRemark())
                .append("refundPerson", getRefundPerson())
                .append("refundTime", getRefundTime())
                .append("isSettled", getIsSettled())
                .append("voucherUploadTime", getVoucherUploadTime())
                .append("paymentTime", getPaymentTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("exampleOne", getExampleOne())
                .append("exampleTwo", getExampleTwo())
                .append("exampleThree", getExampleThree())
                .append("studentId", getStudentId())
                .toString();
    }
}
